package com.leather.admin.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
/**
*
*  @author kevin
*/
@Data
@TableName("permission")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1552201758712L;


    /**
    * 主键
    * 默认自增id
    * isNullAble:0
    */
    @TableId("id")
    private Integer id;

    /**
    * 上级菜单Id
    * isNullAble:1
    */
    private Integer parentId;

    /**
    * 判断是否父级菜单 0 表示是 1 不是
    * isNullAble:1
    */
    private Integer isParent;

    /**
    * 权限名称
    * isNullAble:1
    */
    private String permissionName;

    /**
    * 权限路径
    * isNullAble:1
    */
    private String permissionUrl;

    /**
    * 权限是否能够使用
    * isNullAble:1,defaultVal:0
    */
    private Integer flag;

    private String permissionValue;

}
